.class public Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private b:Lcom/waiqin365/lightapp/view/WqWheelView;

.field private c:Lcom/waiqin365/lightapp/view/WqWheelView;

.field private d:Lcom/waiqin365/base/db/zydk/e;

.field private e:Z

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/ImageView;

.field private h:Landroid/widget/ImageView;

.field private i:[Z


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->e:Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 12

    const/high16 v11, -0x80000000

    const/16 v10, 0x12

    const/4 v8, 0x1

    const/16 v1, 0x8

    const/4 v3, 0x0

    const v0, 0x7f0c0ebc

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    const v0, 0x7f0c0ec6

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v2, 0x7f0c0ec7

    invoke-virtual {p0, v2}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iget-boolean v4, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->e:Z

    if-eqz v4, :cond_0

    iget-object v4, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0803c9

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/TitleBar;->setTitleText(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const v2, 0x7f080716

    invoke-virtual {p0, v2}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->g:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0663

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/WqWheelView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    const v0, 0x7f0c0664

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/WqWheelView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/e;->b()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v4, ":"

    invoke-static {v0, v4, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;)V

    const/16 v0, 0x1e

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v4

    const/4 v5, 0x2

    if-ne v4, v5, :cond_5

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v2, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    const/16 v2, 0x1e

    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    move v6, v0

    move v7, v1

    :goto_1
    iget-object v9, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    new-instance v0, Lcom/waiqin365/lightapp/a/b;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v2, "tag_hour"

    const/16 v4, 0x17

    const-string/jumbo v5, "%02d"

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/a/b;-><init>(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)V

    invoke-virtual {v9, v0}, Lcom/waiqin365/lightapp/view/WqWheelView;->setAdapter(Lcom/waiqin365/lightapp/a/c;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v8}, Lcom/waiqin365/lightapp/view/WqWheelView;->setCyclic(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightapp/view/WqWheelView;->setCurrentItem(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/WqWheelView;->setValueTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/WqWheelView;->setLabelTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setItemTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    const-string/jumbo v1, "#cccccc"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setItemTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setValueTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v11}, Lcom/waiqin365/lightapp/view/WqWheelView;->setLabelTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/WqWheelView;->b(Z)V

    iget-object v7, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    new-instance v0, Lcom/waiqin365/lightapp/a/b;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->mContext:Landroid/content/Context;

    const-string/jumbo v2, "tag_min"

    const/16 v4, 0x3b

    const-string/jumbo v5, "%02d"

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/lightapp/a/b;-><init>(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)V

    invoke-virtual {v7, v0}, Lcom/waiqin365/lightapp/view/WqWheelView;->setAdapter(Lcom/waiqin365/lightapp/a/c;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v8}, Lcom/waiqin365/lightapp/view/WqWheelView;->setCyclic(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/WqWheelView;->setCurrentItem(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/WqWheelView;->setValueTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v10}, Lcom/waiqin365/lightapp/view/WqWheelView;->setLabelTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setItemTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    const-string/jumbo v1, "#cccccc"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setItemTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    const-string/jumbo v1, "#1a1a1a"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/WqWheelView;->setValueTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v11}, Lcom/waiqin365/lightapp/view/WqWheelView;->setLabelTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/WqWheelView;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/WqWheelView;->b(Z)V

    const v0, 0x7f0c0ebf

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ec0

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->f:Landroid/widget/TextView;

    const/4 v0, 0x7

    new-array v0, v0, [Z

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/e;->c()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v0

    const/4 v1, 0x7

    if-ne v0, v1, :cond_2

    move v0, v3

    :goto_2
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v1

    if-ge v0, v1, :cond_2

    iget-object v4, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    invoke-virtual {v2, v0}, Ljava/lang/String;->charAt(I)C

    move-result v1

    const/16 v5, 0x31

    if-ne v1, v5, :cond_1

    move v1, v8

    :goto_3
    aput-boolean v1, v4, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_0
    iget-object v4, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v5

    const v6, 0x7f0803ca

    invoke-virtual {v5, v6}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/TitleBar;->setTitleText(Ljava/lang/String;)V

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :cond_1
    move v1, v3

    goto :goto_3

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->f:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    invoke-static {p0, v1}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;[Z)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0ec3

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->g:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/e;->d()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->g:Landroid/widget/ImageView;

    const v1, 0x7f02036e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ec5

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->h:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/e;->e()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->h:Landroid/widget/ImageView;

    const v1, 0x7f02036e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_5
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->g:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_4

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->h:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_5

    :cond_5
    move v6, v0

    move v7, v1

    goto/16 :goto_1
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/16 v0, 0x64

    if-ne p2, v0, :cond_2

    const-string/jumbo v0, "checkday"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getBooleanArrayExtra(Ljava/lang/String;)[Z

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    new-instance v1, Ljava/lang/StringBuffer;

    const-string/jumbo v0, ""

    invoke-direct {v1, v0}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    const/4 v0, 0x0

    :goto_0
    iget-object v2, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    array-length v2, v2

    if-ge v0, v2, :cond_1

    iget-object v2, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    aget-boolean v2, v2, v0

    if-eqz v2, :cond_0

    const/16 v2, 0x31

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    :goto_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    const/16 v2, 0x30

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->f:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    invoke-static {p0, v1}, Lcom/waiqin365/base/login/d/g;->a(Landroid/content/Context;[Z)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 7

    const v3, 0x7f02036e

    const v2, 0x7f02036d

    const/4 v6, -0x1

    const/4 v5, 0x1

    const/4 v4, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->back()V

    goto :goto_0

    :sswitch_1
    invoke-static {p0}, Lcom/waiqin365/base/db/zydk/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/zydk/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v1}, Lcom/waiqin365/base/db/zydk/e;->a()Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Lcom/waiqin365/base/db/zydk/f;->b(J)Z

    invoke-virtual {p0, v6}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->setResult(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->back()V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    const-string/jumbo v1, "%02d:%02d"

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->b:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/WqWheelView;->d()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v4

    iget-object v3, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->c:Lcom/waiqin365/lightapp/view/WqWheelView;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/view/WqWheelView;->d()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v5

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->a(Ljava/lang/String;)V

    invoke-static {p0}, Lcom/waiqin365/base/db/zydk/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/zydk/f;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/f;->a(Lcom/waiqin365/base/db/zydk/e;)Z

    invoke-virtual {p0, v6}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->setResult(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->back()V

    goto :goto_0

    :sswitch_3
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/login/fragment/activity/WeekRepeatActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "checkday"

    iget-object v2, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->i:[Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[Z)Landroid/content/Intent;

    invoke-virtual {p0, v0, v4}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/e;->d()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->a(Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v5}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->a(Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :sswitch_5
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-virtual {v0}, Lcom/waiqin365/base/db/zydk/e;->e()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->b(Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v5}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->b(Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0089 -> :sswitch_0
        0x7f0c008a -> :sswitch_0
        0x7f0c0093 -> :sswitch_2
        0x7f0c0ebf -> :sswitch_3
        0x7f0c0ec3 -> :sswitch_4
        0x7f0c0ec5 -> :sswitch_5
        0x7f0c0ec6 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5

    const/4 v4, 0x1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f0302dc

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->setContentView(I)V

    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "tixingItem"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/zydk/e;

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    if-nez v0, :cond_0

    iput-boolean v4, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->e:Z

    new-instance v0, Lcom/waiqin365/base/db/zydk/e;

    invoke-direct {v0}, Lcom/waiqin365/base/db/zydk/e;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->a(Ljava/lang/Long;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    const-string/jumbo v1, "08:30"

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    const-string/jumbo v1, "1111100"

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->a(Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->b(Ljava/lang/Boolean;)V

    iget-object v0, p0, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->d:Lcom/waiqin365/base/db/zydk/e;

    invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/zydk/e;->c(Ljava/lang/Boolean;)V

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/base/login/fragment/activity/ZYDKTixingAddActivity;->a()V

    return-void
.end method
